﻿@{
    ViewBag.Title = "毛坯入库";
    Layout = "~/Views/Shared/FrameWorkList.cshtml";
}
<link href="~/Content/css/WareHouseStorage.css" type="text/css" rel="stylesheet" />
<head>
    <title></title>
    <link href="~/Content/css/WareHouseStorage.css" type="text/css" rel="stylesheet" />
    <script>
        var moduleId = $.request("moduleId");
        $(function () {
            $("#lldw").bindSelect();
            gridList();
        })
        function gridList() {
            $("#gridList").dataGrid({
                url: "/SystemManage/ModuleButton/GetTreeGridJson?moduleId=" + moduleId,
                height: $(window).height() - 90,
                colModel: [
                          { label: "单据编号", name: "F_FullName", width: 120, align: 'left' },
                          { label: "单据日期", name: "F_FullName", width: 120, align: 'left' },
                          { label: "来料单位", name: "F_FullName", width: 120, align: 'left' },
                          { label: "来料单位名称", name: "F_FullName", width: 120, align: 'left' },
                          { label: "方式方式", name: "F_FullName", width: 120, align: 'left' },
                          { label: "运行单号", name: "F_FullName", width: 120, align: 'left' },
                          { label: "凭证编号", name: "F_FullName", width: 120, align: 'left' },
                          { label: "零件编号", name: "F_FullName", width: 120, align: 'left' },
                          { label: "零件名称", name: "F_FullName", width: 120, align: 'left' },
                          { label: "实际材料", name: "F_FullName", width: 120, align: 'left' },
                          { label: "实际规格", name: "F_FullName", width: 120, align: 'left' },
                          { label: "剪切规格", name: "F_FullName", width: 120, align: 'left' },
                          { label: "毛坯尺寸", name: "F_FullName", width: 120, align: 'left' },
                          { label: "工艺材料", name: "F_FullName", width: 120, align: 'left' },
                          { label: "标准编号", name: "F_FullName", width: 120, align: 'left' },
                          { label: "特殊要求", name: "F_FullName", width: 120, align: 'left' },
                          { label: "开票毛坯数", name: "F_FullName", width: 120, align: 'left' },
                          { label: "实际毛坯数", name: "F_FullName", width: 120, align: 'left' },
                          { label: "开票零件数", name: "F_FullName", width: 120, align: 'left' },
                          { label: "实际零件数", name: "F_FullName", width: 120, align: 'left' },
                          { label: "开票总量(kg)", name: "F_FullName", width: 120, align: 'left' },
                          { label: "实际总量(kg)", name: "F_FullName", width: 120, align: 'left' },
                          { label: "开票单价(元)", name: "F_FullName", width: 120, align: 'left' },
                          { label: "实际单价(元)", name: "F_FullName", width: 120, align: 'left' },
                          { label: "零件类型", name: "F_FullName", width: 120, align: 'left' },
                          { label: "备注", name: "F_FullName", width: 120, align: 'left' },
                          { label: "输入人员", name: "F_FullName", width: 120, align: 'left' },
                          { label: "输入日期", name: "F_FullName", width: 120, align: 'left' },
                          { label: "审核人", name: "F_FullName", width: 120, align: 'left' },
                          { label: "审核日期", name: "F_FullName", width: 120, align: 'left' },
                          { label: "审核时间", name: "F_FullName", width: 120, align: 'left' }

                ],
                viewrecords: true,
                multiselect: true
            });
        }
        function btn_add() {
            $.detailOpen({
                id: "Detail",
                title: "",
                url: "/WareHouse/PreparBlank/PreparBlankEnterInput"
            });
        }
        function btn_modify() {
            $.detailOpen({
                id: "Detail",
                title: "",
                url: "/WareHouse/EnterWareHouse/WareHouseNoticeModi"
            });
        }
        function btn_excel() {
            $.detailOpen({
                id: "Detail",
                title: "",
                url: "/WareHouse/Export/WareHouseNoticeExcel"
            });
        }
        function btn_print() {
            $.detailOpen({
                id: "Detail",
                title: "",
                url: "/WareHouse/Print/WareHouseNoticePrint"
            });
        }
    </script>
</head>
<body>

    <div class="functionHeader">
        <div class="lsider">
            <div class="updowninput">
                <p>单据编号</p>
                <input type="text" class="form-control required" />
            </div>
            <div class="updowninput">
                <p>单据日期</p>
                <input type="text" class="form-control required input-wdatepicker" onfocus="WdatePicker()" />
            </div>
            <div class="updowninput">
                <p>来料单位</p>
                <select id="lldw" name="F_OrganizeId" class="form-control required">
                    <option value="">==请选择==</option>
                    <option value="东风公司">东风公司</option>
                    <option value="东风江森">东风江森</option>
                    <option value="东风伟世通">东风伟世通</option>
                    <option value="东风李尔">东风李尔</option>
                </select>
            </div>
            <div class="updowninput">
                <p>凭证编号</p>
                <input type="text" class="form-control required" />
            </div>
            <div class="updowninput">
                <p>零件编号</p>
                <input type="text" class="form-control required" />
            </div>
            <div class="updowninput">
                <p>零件名称</p>
                <input type="text" class="form-control required" />
            </div>
        </div>

        <div class="rsider">
            <div class="btn-group" style="margin-top:-8px;">
                <br />
                <a class="btn btn-primary" onclick="$.reload()"><span class="glyphicon glyphicon-refresh">&nbsp刷新</span></a>
                <a class="btn btn-primary" onclick="btn_add()"><i class="fa fa-plus"></i>&nbsp输入</a>
                <a class="btn btn-primary" onclick="btn_modi()"><i class="fa fa-plus"></i>&nbsp修改</a>
                <a class="btn btn-primary" onclick="btn_delete()"><i class="fa fa-plus"></i>&nbsp删除</a>
                <a class="btn btn-primary" onclick="btn_audit()"><i class="fa fa-plus"></i>&nbsp审核</a>
                <a class="btn btn-primary dropdown-text" onclick="btn_excel()"><i class="fa fa-plus"></i>&nbsp导出</a>
                <a class="btn btn-primary dropdown-text" onclick="btn_print()"><i class="fa fa-plus"></i>&nbsp打印</a>
            </div>
        </div>
    </div>

    <div class="gridPanel">
        <table id="gridList"></table>
    </div>
</body>



















